<template>
    <view class="wrap">
       <image class="" :src="getImgUrl('/img/showLots.png')" mode="aspectFill" />
       <view class="start" @tap="changeUrl">查看签词</view>
    </view>
</template>
<script>
import { imgBaseUrl } from '../../../utils/baseUrl'
export default {
   data() {
     return {
       currentId:''
     }
   },
   onLoad(options){
      this.currentId = options.id;
   },
   methods: {
        // 图片渲染
      getImgUrl(image){
         return imgBaseUrl+image;
      },
      changeUrl(){
         uni.navigateTo({
            url:`../../../subPackagesA/pages/lotsDetails/lotsDetails?id=${this.currentId}`,
         })
      }
   }
};
</script>
 <style lang='less' scoped>
 .wrap{
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.37);
    display: flex;
    flex-direction: column;
    align-items: center;
    image{
       width: 100%;
       height: 100%;
    }
    .start{
        position: absolute;
        bottom: 120rpx;
        text-align: center;
        width: 222rpx;
        height: 80rpx;
        line-height: 80rpx;
        background: #FF7F22;
        border-radius: 8rpx;
        color: #fff;
    }
 }
 </style>